from django.db import models


class Hello(models.Model):
    name = models.CharField("名称", default="", max_length=64)
    value = models.CharField("值", default="", max_length=32)
    key = models.CharField("值", default="", max_length=32)
    key2 = models.CharField("值", default="", max_length=32)
    created_at = models.DateTimeField(auto_now_add=True)

    class Meta:
        ordering = ("-created_at",)


class NewModel(models.Model):
    name = models.CharField("名称", default="", max_length=64)
    created_at = models.DateTimeField(auto_now_add=True)

    class Meta:
        ordering = ("-created_at",)
